package com.shenbianyun.bosskgpay.entity.pay;

import java.util.List;

/**
 * @Author yvan
 * @Date 2021/11/16 17:53:22
 * @Description //
 **/
public class PaymentReqModel {

    //商户批次号
    private String merBatchId;
    //付款数据
    private List<PayItems> payItems;
    //任务编号
    private Long taskId;
    private Long projectId;
    //服务商ID
    private Long providerId;

    public String getMerBatchId() {
        return merBatchId;
    }

    public void setMerBatchId(String merBatchId) {
        this.merBatchId = merBatchId;
    }

    public List<PayItems> getPayItems() {
        return payItems;
    }

    public void setPayItems(List<PayItems> payItems) {
        this.payItems = payItems;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getProviderId() {
        return providerId;
    }

    public void setProviderId(Long providerId) {
        this.providerId = providerId;
    }

    @Override
    public String toString() {
        return "PaymentReqModel{" +
                "merBatchId='" + merBatchId + '\'' +
                ", payItems=" + payItems +
                ", taskId='" + projectId + '\'' +
                ", providerId=" + providerId +
                '}';
    }


    public static class PayItems {
        //商户订单号
        private String merOrderId;
        //金额（分）
        private Long amt;
        //收款人名称
        private String payeeName;
        //收款人账号
        private String payeeAcc;
        //身份证号
        private String idCard;
        //收款人手机号
        private String mobile;
        //备注
        private String memo;
        //代付方式 0：银行卡，1：支付宝，2：微信
        private Integer paymentType;
        //异步通知地址
        private String notifyUrl;
        //任务领取单
        private Long applyId;

        //外部用户id
        private String merUserId;

        public String getMerOrderId() {
            return merOrderId;
        }

        public void setMerOrderId(String merOrderId) {
            this.merOrderId = merOrderId;
        }

        public Long getAmt() {
            return amt;
        }

        public void setAmt(Long amt) {
            this.amt = amt;
        }

        public String getPayeeName() {
            return payeeName;
        }

        public void setPayeeName(String payeeName) {
            this.payeeName = payeeName;
        }

        public String getPayeeAcc() {
            return payeeAcc;
        }

        public void setPayeeAcc(String payeeAcc) {
            this.payeeAcc = payeeAcc;
        }

        public String getIdCard() {
            return idCard;
        }

        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getMemo() {
            return memo;
        }

        public void setMemo(String memo) {
            this.memo = memo;
        }

        public Integer getPaymentType() {
            return paymentType;
        }

        public void setPaymentType(Integer paymentType) {
            this.paymentType = paymentType;
        }

        public String getNotifyUrl() {
            return notifyUrl;
        }

        public void setNotifyUrl(String notifyUrl) {
            this.notifyUrl = notifyUrl;
        }

        public Long getApplyId() {
            return applyId;
        }

        public void setApplyId(Long applyId) {
            this.applyId = applyId;
        }

        public String getMerUserId() {
            return merUserId;
        }

        public void setMerUserId(String merUserId) {
            this.merUserId = merUserId;
        }

        @Override
        public String toString() {
            return "PayItems{" +
                    "merOrderId='" + merOrderId + '\'' +
                    ", amt=" + amt +
                    ", payeeName='" + payeeName + '\'' +
                    ", payeeAcc='" + payeeAcc + '\'' +
                    ", idCard='" + idCard + '\'' +
                    ", mobile='" + mobile + '\'' +
                    ", memo='" + memo + '\'' +
                    ", paymentType=" + paymentType +
                    ", notifyUrl='" + notifyUrl + '\'' +
                    ", applyId=" + applyId +
                    '}';
        }
    }


}
